package com.grm.repository;

import com.grm.document.Article;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * SpringBoot操作ES数据的三种方式
 *      1.实现ElasticsearchRepository接口
 *      2.引入ElasticsearchRestTemplate
 *      3.引入ElasticsearchOperations
 *
 * 实现索引对应的Repository
 *
 * @author gaorimao
 * @date 2022/03/25
 */
public interface ArticleRepository extends ElasticsearchRepository<Article,String> {
}
